package com.suedawn.bookmanagesystem.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName borrow_record
 */
@TableName(value ="borrow_record")
@Data
public class BorrowRecordDTO extends PageQueryDTO {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer recordId;

    /**
     * 
     */
    private Integer userId;

    /**
     * 
     */
    private Integer detailId;

    /**
     * 
     */
    private Date borrowDate;

    /**
     * 
     */
    private Date dueDate;

    /**
     * 
     */
    private Date returnDate;

    /**
     * 
     */
    private Integer renewTimes;

    /**
     * 
     */
    private BigDecimal fineAmount;

    /**
     * 
     */
    private Integer deleted;
    /**
     * 关联book
     */
    private String title;
    /**
     * 关联user
     */
    private String name;
    /**
     * 关联book_detail
     */
    private Object status;
}